package ltd.sshine.runtime.exception;

import lombok.Getter;

@Getter
public enum SystemException implements BaseServiceException {
    METHOD_NOT_SUPPORTED("请求方法不支持",405),
    UNKNOWN_EXCEPTION("未知异常",999);
    SystemException(String msg, int code) {
        this.msg = msg;
        this.code = code;
    }
    private final String msg;
    private final int code;
}
